#include "NotebookPageClosedEvent.h"

namespace Impp{

// in der TurnEvent.cpp muss nun 'nur' noch der Event Definiert werden:
DEFINE_EVENT_TYPE(EVT_NOTEBOOK_PAGE_CLOSED) 

NotebookPageClosedEvent::NotebookPageClosedEvent(wxWindow* page,wxEventType eventType, int id):
	wxNotifyEvent(eventType,id),page(page)
{
}

NotebookPageClosedEvent::~NotebookPageClosedEvent()
{
}

wxEvent* NotebookPageClosedEvent::Clone() const {
	return new NotebookPageClosedEvent(*this);
};

wxWindow* NotebookPageClosedEvent::getPage(){
	return page;
}

}

